Skip to content

Conversation

simiraaaa
Copy link
Contributor

*Machine translation from Japanese to English at DeepL.

#459
#572

I came up with a solution to the above Issue and PR.
Use pug-lexer to extract the line with the extends syntax and move it to the top line.
This will work even with comments and prependData.

I think it needs to be tested, but I have not written it because I do not know how to write it correctly.
I would appreciate it if you could add it to this PR or create it separately.

Tests

  • Run the tests with npm test or pnpm test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant